	<div class="portlet">
		<div class="portlet-title" style="background-color:#ffffff">
			<form action="javascript:;" class="alert alert-danger alert-borderless" style="background-color: #EEF4F5;">
				<div class="input-group">
					<div class="input-cont">
						<input type="text" placeholder="项目编号..." class="form-control" ng-model="bidQuery.bidCode"/>
					</div>
					<span class="input-group-btn">
					<button type="button" class="btn green-haze"  ng-click="bidTable.query();">
					<i class="fa fa-search"></i>&nbsp;搜索<!--  <i class="m-icon-swapright m-icon-white"></i> -->
					</button>
					</span>
				</div>
			</form>
		</div>
			
	<div class="portlet-body" >
		<div class="table-responsive">
			<table class="table">
			<thead>
			<tr >
				<th>
					 #
				</th>
				<th>
					项目编号
				</th>
				<th>
					项目名称
				</th>
				<th>
					 开始时间
				</th>
				<th>
					 截止时间
				</th>
				<th>
					项目状态
				</th>
				<th>
					竞拍状态
				</th>
				<th>
					操作
				</th>
			</tr>
			</thead>
			<tbody>
			<tr ng-repeat="bid in bidArray">
				<td>
					 {{$index + 1}}
				</td>
				<td>
					{{bid.bidCode}}
				</td>
				<td> 
					<a ed-url-jump="{{bid.bidId}}" title="点击参与竞价">{{bid.bidTitle}}</a>
				</td>
				<td>
					{{bid.publishTime}}
				</td>
				<td>
					{{bid.limitTime}}
				</td>
				<td>
					 <div class="btn-group">
						<a class="btn btn-danger btn-sm" ed-url-jump="{{bid.bidId}}" style="background-color: #3E97E4;" data-toggle="dropdown" data-hover="dropdown" data-close-others="true" ng-if="bid.status==1">
						<i class="fa fa-legal"></i> 竞价中
						</a>
						<span ng-if="bid.status==2">
						竞价结束
						</span>
					</div>
				</td>
				<td>
					<!-- <div class="btn-group" ng-if="bid.status==2">
						<a class="btn btn-success btn-sm" href="javascript:;" data-toggle="dropdown" data-hover="dropdown" data-close-others="true" ng-if="bid.bidStatus==1">
						竞价成功
						</a>
						<a class="btn grey-salt btn-sm" href="javascript:;" data-toggle="dropdown" data-hover="dropdown" data-close-others="true" ng-if="bid.bidStatus==0">
						竞价失败
						</a>
					</div> -->
					<div class="btn-group" ng-if="bid.status==2">
						<span ng-if="bid.bidStatus==1">
						竞价成功
						</span>
						<span ng-if="bid.bidStatus==0">
						竞价失败
						</span>
					</div> 
				</td>
				<td>
					<div class="actions" ng-if="bid.bidRecordArray.length>0">
						<div class="btn-group">
							<a class="btn yellow btn-circle btn-sm" style="background-color: #3E97E4;"href="javascript:;" ng-click="bidTable.viewBidRecordInfo(bid);">
							出价记录 <i class="fa fa-angle-double-down"></i>
							</a>
						</div>
					</div>
					<div class="actions" ng-if="bid.bidRecordArray.length<=0">
						<div class="btn-group">
							<!-- <a class="btn grey-salt btn-circle btn-sm" href="javascript:;" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
							暂无记录 <i class="fa fa-minus-square"></i>
							</a> -->
							<span >
							暂无记录
							</span>
						</div>
					</div>
				</td>
			</tr>
			</tbody>
			</table>
			<div id="page_bar" style="position: relative; margin-top: 5px; margin-bottom: 25px;"></div>
		</div>
	</div>
</div>


  <div ed-modal="bidRecordModal" data-options="width:'500px',static:true,title: '出价记录',
    icon: 'fa fa-navicon'" >
    <div class="form" style="height: 400px;overflow-y: auto;">
        <div class="portlet-body" >
        <table class="table">
			<thead>
			<tr>
				<th>
				</th>
				<th>
					 #
				</th>
				<th>
					出价金额(¥)
				</th>
				<th>
					时间
				</th>
			</tr>
			</thead>
			<tbody>
			<tr ng-repeat="record in bidRecordArray">
				<td>
				</td>
				<td>
					 {{$index + 1}}
				</td>
				<td>
					{{record.bidPrice | currency : '￥'}}
				</td>
				<td>
					{{record.biddingTime}}
				</td>
			</tr>
			</tbody>
			</table>
        
        </div>
    </div>
</div>

